<div class="col-md-12">
    <table class="table table-hover">
        <thead>
        <tr>
            <th>#</th>
            <th>销量</th>
            <th>采购数量</th>
            <th>已采购数量</th>
            <th>入库数量</th>
        </tr>
        </thead>
        <tbody>
        <?php foreach ($sum as $item) :?>
            <tr>
                <th><?php echo $item['name'];?></th>
                <td><?php echo $item['order'];?></td>
                <td><?php echo $item['purchase'];?></td>
                <td><?php echo $item['inv_purchase'];?></td>
                <td><?php echo $item['storage'];?></td>
            </tr>
        <?php endforeach;?>
        </tbody>
    </table>
    <div class="">当前库存:<?php echo $goods_sku['sku_number'];?>, 当前占用库存:<?php echo $goods_sku['occupy_number'];?></div>
</div>